package com.abvnet.project.water.project.mapper;

import com.abvnet.project.water.project.domain.ProjectComment;

import java.util.List;

/**
 * 员工互评 数据层
 * 
 * @author duj
 * @date 2019-07-19
 */
public interface ProjectCommentMapper {
	/**
     * 查询员工互评信息
     * 
     * @param commentId 员工互评ID
     * @return 员工互评信息
     */
	public ProjectComment selectProjectCommentById(Long commentId);
	
	/**
     * 查询员工互评列表
     * 
     * @param projectComment 员工互评信息
     * @return 员工互评集合
     */
	public List<ProjectComment> selectProjectCommentList(ProjectComment projectComment);

    List<ProjectComment> selectProjectCommentListForApi(ProjectComment projectComment);
	
	/**
     * 新增员工互评
     * 
     * @param projectComment 员工互评信息
     * @return 结果
     */
	public int insertProjectComment(ProjectComment projectComment);
	
	/**
     * 修改员工互评
     * 
     * @param projectComment 员工互评信息
     * @return 结果
     */
	public int updateProjectComment(ProjectComment projectComment);
	
	/**
     * 删除员工互评
     * 
     * @param commentId 员工互评ID
     * @return 结果
     */
	public int deleteProjectCommentById(Long commentId);

    int deleteByProjectId(Long ProjectId);
	
	/**
     * 批量删除员工互评
     * 
     * @param commentIds 需要删除的数据ID
     * @return 结果
     */
	public int deleteProjectCommentByIds(String[] commentIds);

	int batchProjectComment(List<ProjectComment> list);
	
}